package com.apartment.own.domain;

import com.apartment.common.annotation.Excel;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.apartment.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 test_team
 * 
 * @author @Dog_E
 * @date 2020-08-31
 */
@Data
@ApiModel("【请填写功能名称】")
public class TestTeam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty("id")
    private Long id;

    /** 班级名字 */
    @ApiModelProperty("班级名字")
    @Excel(name = "班级名字")
    private String name;

    /** 人数 */
    @ApiModelProperty("人数")
    @Excel(name = "人数")
    private Long number;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("number", getNumber())
            .toString();
    }
}
